<?php
/**
 *
 * @revision:   $Id: default.php 40 2011-06-12 14:56:15Z agbiggora@gmail.com $
 * @package	    Joomla!
 * @since       {SINCE}
 * @subpackage	AG Social Bookmarks
 * @version     {PROJECTVERSION}
 * @desc        The AG Social Bookmarks module is based on the Sexy Bookmarks Plugin for Wordpress
 *              originaly designed and coded by Josh Jones http://www.eight7teen.com
 * @copyright	Copyright © 2010-{PROJECTYEAR} Alexey Gordeyev IK. All rights reserved.
 * @license		GNU General Public License v2.0
 * @author		ALEXEY GORDEYEV IK
 * @author mail	admin@gordejev.lv
 * @website		www.gordejev.lv
 *
 * CODE GENERATED BY: ALEXEY GORDEYEV IK CODE GENERATOR
 * HTTP://WWW.AGJOOMLA.COM/
 *
 *
 */

 //no direct access
defined('_JEXEC') or die('Restricted access'); // no direct access 

   JHTML::_('behavior.tooltip');

   // Load framevork
   $application = &JFactory::getApplication();
   $document    = &JFactory::getDocument();
   $menus       = &JSite::getMenu();
   $menu        = $menus->getActive();

   $article = new StdClass;
   $article->title = $document->title;
   $article->text = $document->_buffer['component'][''];
   $article->metakey = $document->_metaTags["standard"]["keywords"];
   $article->access = $menu->access;
   $article->slug = $menu->id.":".$menu->alias;

   $content = ModAGSocialBookmarksHelper::makeBookmarks( $article, $params, ''); 
   
?>